import request from '#/utils/requestAbort';

export async function queryUnitOptions(params) {
  return request('/generation-common/correlaNodeStationConfig/queryProvinceList', {
    method: 'POST',
    data: params,
  });
}

export async function queryReanalyzeDataData(params) {
  return request('/generation-common/flexible-aggregation/flexibleAggregation', {
    method: 'POST',
    data: params,
  });
}

export async function getDynamicColumns(params) {
  return request('/reanalyze/generalDynamicColumns/getDynamicColumns', {
    method: 'POST',
    data: params,
  });
}
